package com.example.qlexpress.entity;




import org.springframework.context.ApplicationContext;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: whb
 * @Date: 2021/10/12 16:35
 * @Description
 */
public class TestMap extends HashMap<String, Object> {

    public TestMap(Map<String, String> map) {
        super(map);
    }

    public static void main(String[] args) {
        Map<String,String> map = new HashMap<>();
        map.put("1","1");
        map.put("2","2");
        TestMap testMap = new TestMap(map);
        testMap.put("3","3");
        System.out.println(testMap.toString());
    }
}
